<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'register2.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css"> 
		div{ width:35%;margin-left:32%;} 
	</style> 
  </head>
  
<body > 
<div> 
<form class="f1" action="http://www.baidu.com" method="get" > 
<fieldset > 
<legend>注册 完善信息</legend> 
<table width=100% style="height: 318px; width: 525px; "> 
<tbody> 
<tr ><td class=“left” width=40% align="right"><label for="t1">用户名：</label></td> 
<td class="right"><input type="text" id="t1" disabled name="username"></td> 
</tr> 
<tr><td class=“left” width=40% align="right">用户类型：</td> 
<td><select id="selcs" name="usertype"> 
<option value="school">校园去</option> 
<option value="place">公寓区</option> 
<option value="Suburb" >郊区</option> 
</select> 

</td> 
</tr> 
<tr><td class=“left” width=40% align="right">省市：</td> 
<td><select id="selc" name="place"> 
<option value="shandong">山东</option> 
<option value="jiangsu">江苏</option> 
<option value="guangzhou" >广州</option> 
</select> 
城市或院校：<select id="scl" name="scl"> 
<option value="zbvc">淄博职业学院</option> 
<option value="zibo">淄博市</option> 
<option value="wf">潍坊市</option> 
</select> 
</td> 
</tr> 
<tr ><td class=“left” width=40% align="right"><label for="t1">真实姓名：</label></td> 
<td class="right"><input type="text" id="t1" name="realname"></td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="1">性 别：</label></td> 
<td class="right"><input type="radio" id="1" name="ssex" value="nan" />男<!-- name设置成一样的就行了--> 
<input type="radio" id="2" name="ssex" value="nv" />女 
<input type="radio" id="2" name="ssex" value="nv" />保密 
</td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="e1">联系电话：</label></td> 
<td class="right"><input type="text" id="e1" name="youxiang" ></td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="e1">住址：</label></td> 
<td class="right"><input type="text" id="e1" name="youxiang" ></td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="e1">邮政编码：</label></td> 
<td class="right"><input type="text" id="e1" name="youxiang" ></td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="e1">QQ：</label></td> 
<td class="right"><input type="text" id="e1" name="youxiang" ></td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="e1">MSN：</label></td> 
<td class="right"><input type="text" id="e1" name="youxiang" ></td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="e1">淘宝ID：</label></td> 
<td class="right"><input type="text" id="e1" name="youxiang" ></td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="e1">密码提示问题：</label></td> 
<td class="right"><input type="text" id="e1" name="youxiang" ></td> 
</tr> 
<tr><td class=“left” width=40% align="right"><label for="e1">问题答案：</label></td> 
<td class="right"><input type="text" id="e1" name="youxiang" ></td> 
</tr> 

<tr><td class=“left” width=40% align="right">上 传：</td> 
<td> <textarea rows="5" cols="40"></textarea></td> 
</tr> 
<tr><td class=“left” width=40% align="right" rowspan=2> 
<input id="Submit1" type="submit" value="提 交" /> 
</td> 
<td> <input id="Reset1" type="reset" value="重 置" /> 
</td> 
</tr> 
</tbody> 
</table> 
</fieldset> 
</form> 
</div> 
</body> 
</html>
